import Vue from "vue";
Vue.filter("imgFilter", function (val) {
  return "https://fuss10.elemecdn.com/" + val
})

Vue.filter('classifyImg', function (val) {
  return 'https://fuss10.elemecdn.com/' + val[0] + '/' + val[1] + val[2] + '/' + val.slice(3) + '.' + val.slice(val.length - 3)
})
Vue.filter('classifyJpeg', function (val) {
  return 'https://fuss10.elemecdn.com/' + val[0] + '/' + val[1] + val[2] + '/' + val.slice(3) + '.' + val.slice(val.length - 4)
})
